package com.xbongbong.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 描述信息
 *"[{\"taskCode\":5932197591168,\"x\":498,\"y\":200}]"
 * @ClassName LocationsPojo
 * @Author 梁鲁江
 * 创建时间 2022/6/22 14:30
 * 修改时间  2022/6/22 14:30
 **/
@Getter
@Setter
@ToString
public class LocationPojo implements Serializable {
    private static final long serialVersionUID = 3311764297020113270L;
    /**
     * 
     */
    private Long taskCode;
    /**
     * 坐标信息x
     */
    private Integer x;
    /**
     * 坐标信息x
     */
    private Integer y;

    public LocationPojo() {
    }

    public LocationPojo(Long taskCode) {
        this.taskCode = taskCode;
        //给x,y默认值
        this.x = 0;
        this.y = 0;
    }
}
